	$("#gameid").change(function(){
		server = servers[$(this).val()];
		$("#serverid").html('');
		for(var i in server)
		{
			$("#serverid").append('<option value="'+server[i][0]+'">'+server[i][1]+'</option>');
		}
	});
	$("#gameid").change();
	$("#bbform").ajaxForm(
			{
				dataType:"json",
				beforeSubmit:function(){
			},
					success:function (data){
						if(data.statusCode == 200)
						{
							window.location.href="/member/"
						}
						else 
						{
							alert(data.message);
						}
					}
				}		
	);